Jump to content

Template:Userbox/testcases

From Wikipedia, the free encyclopedia

Standard boxes

[edit]
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
xpfoodddd bar
xpfoodddd bar
xpfoodddd bar
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
ALAThis User Lives or Lived in Alameda, California
ALAThis User Lives or Lived in Alameda, California
ALAThis User Lives or Lived in Alameda, California
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
TSThis user likes Taylor Swift
TSThis user likes Taylor Swift
TSThis user likes Taylor Swift

Border width

[edit]
Border width test cases
border-s=10px
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
border-s=-9
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
border-s=-2
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
border-s=-1
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
border-s=0
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
border-s=1
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
border-s=2
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
border-s=3
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
border-s=5
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
border-s=12
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.
Samuel JohnsonThis user honours Samuel Johnson
for his enduring contributions to the
English language.

border-s=10
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
border-s=50
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
border-s=21
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
border-s=0
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
border-s=1
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
border-s=2
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
border-s=15
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
border-s=100
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
border-s=150
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}

Maths

[edit]
Math testcases

Side by side

{{Userbox}} to the left of {{Userbox/sandbox}}

Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
π3.1415926535897932384626433832795028841941693993751058209749445923808162...
π3.1415926535897932384626433832795028841941693993751058209749445923808162...
π3.1415926535897932384626433832795028841941693993751058209749445923808162...
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
42The Answer to Great Question of the Universe, Life, and Everything
42The Answer to Great Question of the Universe, Life, and Everything
42The Answer to Great Question of the Universe, Life, and Everything
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
;This user thinks TeX is cool.
;This user thinks TeX is cool.
;This user thinks TeX is cool.

Floating

3 instances of {{Userbox}} precede 3 instances of {{Userbox/sandbox}} and 3 instances of {{Userbox/sandbox2}}.

π3.1415926535897932384626433832795028841941693993751058209749445923808162...
42The Answer to Great Question of the Universe, Life, and Everything
;This user thinks TeX is cool.

{{Userbox/sandbox}}

π3.1415926535897932384626433832795028841941693993751058209749445923808162...
42The Answer to Great Question of the Universe, Life, and Everything
;This user thinks TeX is cool.

{{Userbox/sandbox2}}

π3.1415926535897932384626433832795028841941693993751058209749445923808162...
42The Answer to Great Question of the Universe, Life, and Everything
;This user thinks TeX is cool.

Stacked

{{Userbox}} precedes {{Userbox/sandbox}} followed by {{Userbox/sandbox2}} in each case.

π3.1415926535897932384626433832795028841941693993751058209749445923808162...
π3.1415926535897932384626433832795028841941693993751058209749445923808162...
π3.1415926535897932384626433832795028841941693993751058209749445923808162...
42The Answer to Great Question of the Universe, Life, and Everything
42The Answer to Great Question of the Universe, Life, and Everything
42The Answer to Great Question of the Universe, Life, and Everything
;This user thinks TeX is cool.
;This user thinks TeX is cool.
;This user thinks TeX is cool.

Long text

[edit]
Lorem ipsum 1
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum 2
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
Mr. Lorem, I don't feel so good...Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mr. Lorem, I don't feel so good...Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mr. Lorem, I don't feel so good...Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Blank parameters

[edit]
{{userbox
| border-width=
| border-s=10
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
{{userbox
| 
| border-c=blue
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}
{{userbox
| info-background =
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
id{{{info}}}
id{{{info}}}
id{{{info}}}
{{userbox
| id = id
| id-w = 
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
id{{{info}}}
id{{{info}}}
id{{{info}}}
{{userbox
| info-color = 
| info-fc = red
}}
Side by side comparison
{{Userbox}}{{Userbox/sandbox}}{{Userbox/sandbox2}}
{{{info}}}
{{{info}}}
{{{info}}}